<?php $this->beginContent('/layouts/main'); ?>
<div class="container">
	<div id="content">
		<div id="buttons">
			<?php 
				if(!Yii::app()->user->isGuest){
					$this->beginWidget('zii.widgets.CPortlet');
						$this->widget('zii.widgets.CMenu', array(
							'items'=>$this->menu,
							'htmlOptions'=>array('class'=>'operations'),
						));
					$this->endWidget();
				}
			?>
		</div><!-- sidebar -->
		<?php echo $content; ?>
	</div><!-- content -->
</div>
<?php $this->endContent(); ?>